package com.chat.biz.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.chat.api.dto.AuthAgreeFriendRequestDTO;
import com.chat.api.dto.AuthFriendRequestPageDTO;
import com.chat.api.entity.FriendRequest;
import com.chat.api.vo.AuthFriendRequsetPageVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FriendRequestMapper extends BaseMapper<FriendRequest> {
    Page<AuthFriendRequsetPageVO> FriendRequestPage(@Param("page") Page page, @Param("dto") AuthFriendRequestPageDTO dto);

}
